package com.paw.oauth2.chase;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

/**
 * @author lvzihai
 * @date 2021/7/14
 **/
@EnableResourceServer
@SpringBootApplication
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class ChaseApplication {

  public static void main (String[] args) {
    SpringApplication.run(ChaseApplication.class, args);
  }
}
